home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 15556 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  781 b 

  1. Path: newsbf02.news.aol.com!not-for-mail
  2. From: sguit@aol.com (SGUIT)
  3. Newsgroups: comp.lang.c++
  4. Subject: Button Problem???
  5. Date: 6 Apr 1996 09:28:49 -0500
  6. Organization: America Online, Inc. (1-800-827-6364)
  7. Sender: root@newsbf02.news.aol.com
  8. Message-ID: <4k5v31$7rs@newsbf02.news.aol.com>
  9. Reply-To: sguit@aol.com (SGUIT)
  10. NNTP-Posting-Host: newsbf02.mail.aol.com
  11.  
  12. I have a Visual C++ 1.52 MFC project that uses buttons in a CFormView. How
  13. can I make a button toggle on/off every time it's pressed. I need it to
  14. stay down when pressed the first time then up when pressed again. Also, I
  15. will need to only execute the code within the OnButton( ); only when it's
  16. in its pressed down visual mode.....
  17. Thanks.........man, I've looked every where for an example without any
  18. luck.
  19.  
  20. Steve T.
  21.